package com.huilian.netty.model;

import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

@Data
public class SocketMessage implements Serializable {

    private String id;

    private String type;

    private String scanCode;

    private String billCode;
    /**
     * 扫码mqtt消息业务id
     */
    private String scanCodeMqttMessageId;
    /**
     * 纸钞mqtt消息业务id
     */
    private String billMqttMessageId;

    /**
     * 电机状态 1正常,2故障,3检测中
     */
    private Integer motorStatus;

    private Integer hierarchy;

    private Integer freightLane;

    private int numberOfFailures;
    /**链接标识*/
    private String username;
    /**协议内容*/
    private String command;
}
